<!DOCTYPE html>
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>Makefile</title>
<meta name="generator" content="KF5::SyntaxHighlighting (Makefile)"/>
</head><body style="color:#1f1c1b"><pre>
<span style="color:#898887;"># comment</span>

<span style="font-weight:bold;">include</span> Makefile.in
<span style="font-weight:bold;">-include</span> Makefile.doesntexist

<span style="color:#006e28;font-weight:bold;">.PHONY:</span><span style="color:#0057ae;"> all</span>

<span style="color:#b08000;">all:</span><span style="color:#0057ae;"> target</span>

<span style="color:#0057ae;">foo </span><span style="color:#924c9d;">=</span><span style="color:#bf0303;"> bar </span><span style="color:#924c9d;">$(</span><span style="color:#0057ae;">var</span><span style="color:#924c9d;">)</span><span style="color:#bf0303;"> </span><span style="color:#924c9d;">\</span>
<span style="color:#bf0303;">    </span><span style="color:#924c9d;">$(</span><span style="color:#0057ae;">baz</span><span style="color:#924c9d;">)</span><span style="color:#bf0303;"> quux</span>

<span style="font-weight:bold;">ifeq</span> (<span style="color:#924c9d;">$(</span><span style="color:#0057ae;">CC</span><span style="color:#924c9d;">)</span>,gcc)
    <span style="color:#0057ae;">bla</span><span style="color:#924c9d;">=$(</span><span style="font-weight:bold;">call</span><span style="color:#bf0303;"> func</span><span style="font-weight:bold;">,</span><span style="color:#bf0303;">param1</span><span style="font-weight:bold;">,</span><span style="color:#bf0303;">param2</span><span style="color:#924c9d;">)</span>
<span style="font-weight:bold;">else</span> <span style="font-weight:bold;">ifeq</span> <span style="color:#bf0303;">&quot;x&quot;</span> <span style="color:#bf0303;">&quot;y&quot;</span>
    <span style="color:#924c9d;">$(</span><span style="font-weight:bold;">error</span><span style="color:#bf0303;"> this seems wrong</span><span style="color:#924c9d;">)</span>
<span style="font-weight:bold;">else</span>
    <span style="color:#0057ae;">libs</span><span style="color:#924c9d;">=$(</span><span style="color:#0057ae;">normal_libs</span><span style="color:#924c9d;">)</span>
<span style="font-weight:bold;">endif</span>

<span style="color:#b08000;">target1:</span>
<span style="color:#bf0303;text-decoration:underline;">        </span>error

<span style="color:#b08000;">target2:</span><span style="color:#0057ae;"> bla.cpp </span><span style="color:#924c9d;">$@</span>
	<span style="color:#924c9d;">$(</span><span style="color:#0057ae;">CC</span><span style="color:#924c9d;">)</span> bla.c -o bla.o
	<span style="color:#924c9d;">$(</span><span style="color:#0057ae;">CC</span><span style="color:#924c9d;">)</span> bla.o <span style="color:#924c9d;">$&lt;</span> <span style="color:#924c9d;">\</span>
	    <span style="color:#924c9d;">-</span><span style="color:#644a9b;">o bla.exe</span>
	<span style="color:#924c9d;">@</span><span style="color:#644a9b;">echo </span><span style="color:#bf0303;">&quot;hello&quot;</span>
</pre></body></html>
